package cn.wolfcode.trip.base.mapper;

import cn.wolfcode.trip.base.domain.CommodityCatalog;
import java.util.List;

public interface CommodityCatalogMapper {
    int deleteByPrimaryKey(Long id);

    int insert(CommodityCatalog record);

    CommodityCatalog selectByPrimaryKey(Long id);

    List<CommodityCatalog> selectAll();

    int updateByPrimaryKey(CommodityCatalog record);

    List<CommodityCatalog> selectByType(Integer type);
}